#if !defined(DATABASEENV_H)
#define DATABASEENV_H


#ifdef  HAVE_MYSQL
#define ENABLE_DATABASE_MYSQL
#endif
//! Other libs we depend on.
#include "Common.h"
#include "Singleton.h"
#include "Log.h"
#include "CThreads.h"

//! Our own includes.
#include "Database/Field.h"
#include "Database/Database.h"



SERVER_DECL extern Database* Database_Character;
SERVER_DECL extern Database* Database_Server;
SERVER_DECL extern Database* Database_Account;
SERVER_DECL extern Database* Database_Gateway;
SERVER_DECL extern Database* Database_Logs;
SERVER_DECL extern Database* Database_Center;
SERVER_DECL extern Database* Database_Info;

#define AccountDatabase (*Database_Account)
#define ServerDatabase (*Database_Server)
#define CharacterDatabase (*Database_Character)
#define GatewayDatabase (*Database_Gateway)
#define LogsDatabase (*Database_Logs)
#define CenterDatabase (*Database_Center)
#define InfoDatabase (*Database_Info)


#endif
